#!/usr/bin/env python3.0

#The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.
#
#Find the sum of all the primes below two million.

from numth import prime_generator

TARGET = 2000000

if __name__ == '__main__':
    primes = prime_generator(max=TARGET-1)
    result = 0
    for p in primes:
        result += p
    print('Result: {0}'.format(result))

